<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridInlineEditing.aspx.cs" 
    Inherits="GridInlineEditing" Title="GridInlineEditing" %>
<%@ Register Assembly="GridControl" Namespace="GridControl" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Grid Inline Editing</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <cc1:YuiGrid  ID="YuiGrid1"  runat="server" Fields="ID_MOVIE,TITLE,RATING,VOTES,YEAR" WebServiceMethod="GetMovies" 
            WebServicePath="MoviesService.asmx" TagId="ID_MOVIE" EnableRowSorting="true" Width="450px" 
            EnablePaging="true" PagingStyle="NavBar" EnableInlineEditing="true" EnableAddDeleteRows="true" OnRowCreated="YuiGrid1_RowCreated">
            <Columns>
                <cc1:ColModel header="ID" sortable="true" width="50"/>
                <cc1:ColModel header="Title" sortable="true" width="200"/>
                <cc1:ColModel header="Rating" sortable="false" width="60"/>
                <cc1:ColModel header="Votes" sortable="true" width="60"/>
                <cc1:ColModel header="Year" sortable="false" width="60"/>
            </Columns>
         </cc1:YuiGrid>
    </form>
</body>
</html>
